package com.cdm.dao;

import java.util.List;
import java.util.Map;

import com.cdm.pojo.Activity;

public interface ActivityMapper {
	
	List<Activity> findAllClassify(Map<String,Object> paramMap);
	
	Integer findActivityCount(Map<String,Object> paramMap);
	
	List<Activity> getByJoiner(Map<String,Object> paramMap);
	
	List<Activity> getByPublisher(Map<String,Object> paramMap);
	
	Integer findActivityCountByJoiner(Map<String,Object> paramMap);
	
	Integer findActivityCountByPublisher(Map<String,Object> paramMap);
	
	Integer addActivity(Map<String,Object> paramMap);
	
	Integer deleteActivity(int activity);
	
	Integer deleteJoiner(Map<String,Object> paramMap);

	Integer addJoiner(Map<String,Object> paramMap);
	
	Integer testAdd(Map<String,Object> paramMap);

	Integer testUpdate(Map<String,Object> paramMap);
}